package com.example.job.quartz;

import cn.hutool.core.date.DateUtil;
import com.example.job.po.SysJob;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.ApplicationContext;

/*
 * @className: SysUserTmpJob
 * @author: chentao
 * @date: 2025/3/27 下午2:01
 * @Version: 1.0
 * @description:
 */
public class SysUserTmpJob implements Job {

    Logger logger = LoggerFactory.getLogger(getClass());

    @Override
    public void exec(ApplicationContext applicationContext, SysJob sysJob) throws Exception {
        logger.warn("sysUserTmpJob exec createTime : " + DateUtil.formatDateTime(sysJob.getCreateTime()));
    }
}
